Parse render nodes from text files
authorTimm Bäder <mail@baedert.org>
Sat, 2 Mar 2019 15:55:17 +0000 (16:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 5 May 2019 05:18:39 +0000 (07:18 +0200)
commit01a7c7a8b23432b62f5c926e340c703f1b5eecb5
treeb0070a1beea0a8c5284214dfa3795714a1671edb
parent3c6aa84e44d63efe79e32e93c01fcb0208ba4964
Parse render nodes from text files

Instead of the previous approach using GVariant, this new approach uses
human-readable text files as the serialization format for render nodes.

The format is a custom one, but it is inspired by QML and conforms to
the CSS syntax. Because of that, we can use the CSS machinery from GTK
to parse it, and in particular share code to parse properties that GTK's
CSS machinery also supports, such as colors.

This commit breaks all existing usages of node files - such as the
testsuite and various test tools - they will be fixed in further
commits.
gsk/gskrendernode.c
gsk/gskrendernodeparser.c [new file with mode: 0644]
gsk/gskrendernodeparserprivate.h [new file with mode: 0644]
gsk/meson.build